<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@ taglib prefix="s" uri="/struts-tags"%>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>My Virtual Library</title>
<link rel="stylesheet" href="style.css" type="text/css" charset="utf-8" />

</head>

<body>

<div id="wrapper">
<h1><em>MyVirtual</em> Library</h1>
<jsp:include page="header.jsp" />
<div id="topcon">
<div id="topcon-inner">
<h2>Welcome to MyVirtual Library</h2>
<p><jsp:include page="description.jsp" /></p>

</div>
</div>
<div id="content">
<div id="body">
<!--<div class="left"><img src="images/bookstack.jpg" height="350px" /></div>-->
<!--<div class="boxr box-l">-->
<div>
You can view pending requests on this page. 

	<b><s:actionerror /></b>
	<b><s:actionmessage/></b>
    <table>
      <tr>
        <td> Date </td><td>Copy Id </td> <td>Type </td><td>Title </td> <td> Requested By </td> <td>Action</td>
     </tr>
		<s:iterator value="pending">
		  <tr>
		    <td><h3><s:property value="timeAdded"/></h3></td>
		    <td><s:property value="copyId"/> </td>
		    <td><s:property value="type"/></td>
		    <td><s:property value="title"/></td>
		    <td><s:property value="requester"/></td>
		    
		    <td>
		       <s:form action="HandleRequest.action" method="POST">
		         <s:radio name="response" list="{'Accept','Reject'}"></s:radio>
		         <s:hidden name="reqId"><s:param name="reqId"/> </s:hidden>
		
		         <s:submit value="Submit"/>
		         </s:form>
		     </td>
		  </tr>
		  </s:iterator>
	</table>
   


</div>
<div class="clear"></div>
</div>
<jsp:include page="footer.html" /></div>
</div>

</body>
</html>
